package com.yys.gulimall.gulimallauthserver.feign;/*
 * @author zq
 */

import com.yys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient("gulimall-third")
public interface ThirdFeignService {
    @GetMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone,
                      @RequestParam("code") String code);
}
